package com.iweb.user.service;

import com.iweb.user.model.User;
import javax.servlet.http.HttpSession;

public interface UserService {
    public int saveOne(User user);
    boolean isLogin(String username, String password, HttpSession session);
    boolean isContainUserName(String username);
    User getUserById(int userId);
    boolean deleteUser(int userId);
    boolean updateUser(User user);
}
